/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.namabank.helpdesk.dbobj;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

/**
 *
 * @author Nguyen Tran Hien
 */
@Entity
public class HDTB_ATTACHMENT implements Serializable {
    public HDTB_ATTACHMENT(){}

    private String FILE_ID;
    private String TICKET_ID;
    private String FILE_NAME;
    private Date FILE_DATE;
    private String REAL_FILE_NAME;
    private String UPLOAD_DESC;
    private Byte[] FILE_CONTENT;
    private String ENCRYPT_TYPE;
    private Integer DOWNLOADED_COUNT;
    private Character RECORD_STAT;
    private String CREATED_BY;
    private Date CREATED_DATE;
    private String UPDATE_BY;
    private Date UPDATE_DATE;

    /**
     * @return the FILE_ID
     */
    @Id
    public String getFILE_ID() {
        return FILE_ID;
    }

    /**
     * @param FILE_ID the FILE_ID to set
     */
    public void setFILE_ID(String FILE_ID) {
        this.FILE_ID = FILE_ID;
    }

    /**
     * @return the TICKET_ID
     */
    public String getTICKET_ID() {
        return TICKET_ID;
    }

    /**
     * @param TICKET_ID the TICKET_ID to set
     */
    public void setTICKET_ID(String TICKET_ID) {
        this.TICKET_ID = TICKET_ID;
    }

    /**
     * @return the FILE_NAME
     */
    public String getFILE_NAME() {
        return FILE_NAME;
    }

    /**
     * @param FILE_NAME the FILE_NAME to set
     */
    public void setFILE_NAME(String FILE_NAME) {
        this.FILE_NAME = FILE_NAME;
    }

    /**
     * @return the FILE_DATE
     */
    @Temporal(javax.persistence.TemporalType.TIMESTAMP)
    public Date getFILE_DATE() {
        return FILE_DATE;
    }

    /**
     * @param FILE_DATE the FILE_DATE to set
     */
    public void setFILE_DATE(Date FILE_DATE) {
        this.FILE_DATE = FILE_DATE;
    }

    /**
     * @return the REAL_FILE_NAME
     */
    public String getREAL_FILE_NAME() {
        return REAL_FILE_NAME;
    }

    /**
     * @param REAL_FILE_NAME the REAL_FILE_NAME to set
     */
    public void setREAL_FILE_NAME(String REAL_FILE_NAME) {
        this.REAL_FILE_NAME = REAL_FILE_NAME;
    }

    /**
     * @return the UPLOAD_DESC
     */
    public String getUPLOAD_DESC() {
        return UPLOAD_DESC;
    }

    /**
     * @param UPLOAD_DESC the UPLOAD_DESC to set
     */
    public void setUPLOAD_DESC(String UPLOAD_DESC) {
        this.UPLOAD_DESC = UPLOAD_DESC;
    }

    /**
     * @return the FILE_CONTENT
     */
    public Byte[] getFILE_CONTENT() {
        return FILE_CONTENT;
    }

    /**
     * @param FILE_CONTENT the FILE_CONTENT to set
     */
    public void setFILE_CONTENT(Byte[] FILE_CONTENT) {
        this.FILE_CONTENT = FILE_CONTENT;
    }

    /**
     * @return the ENCRYPT_TYPE
     */
    public String getENCRYPT_TYPE() {
        return ENCRYPT_TYPE;
    }

    /**
     * @param ENCRYPT_TYPE the ENCRYPT_TYPE to set
     */
    public void setENCRYPT_TYPE(String ENCRYPT_TYPE) {
        this.ENCRYPT_TYPE = ENCRYPT_TYPE;
    }

    /**
     * @return the DOWNLOADED_COUNT
     */
    public Integer getDOWNLOADED_COUNT() {
        return DOWNLOADED_COUNT;
    }

    /**
     * @param DOWNLOADED_COUNT the DOWNLOADED_COUNT to set
     */
    public void setDOWNLOADED_COUNT(Integer DOWNLOADED_COUNT) {
        this.DOWNLOADED_COUNT = DOWNLOADED_COUNT;
    }

    /**
     * @return the RECORD_STAT
     */
    public Character getRECORD_STAT() {
        return RECORD_STAT;
    }

    /**
     * @param RECORD_STAT the RECORD_STAT to set
     */
    public void setRECORD_STAT(Character RECORD_STAT) {
        this.RECORD_STAT = RECORD_STAT;
    }

    /**
     * @return the CREATED_BY
     */
    public String getCREATED_BY() {
        return CREATED_BY;
    }

    /**
     * @param CREATED_BY the CREATED_BY to set
     */
    public void setCREATED_BY(String CREATED_BY) {
        this.CREATED_BY = CREATED_BY;
    }

    /**
     * @return the CREATED_DATE
     */
    @Temporal(javax.persistence.TemporalType.TIMESTAMP)
    public Date getCREATED_DATE() {
        return CREATED_DATE;
    }

    /**
     * @param CREATED_DATE the CREATED_DATE to set
     */
    public void setCREATED_DATE(Date CREATED_DATE) {
        this.CREATED_DATE = CREATED_DATE;
    }

    /**
     * @return the UPDATE_BY
     */
    public String getUPDATE_BY() {
        return UPDATE_BY;
    }

    /**
     * @param UPDATE_BY the UPDATE_BY to set
     */
    public void setUPDATE_BY(String UPDATE_BY) {
        this.UPDATE_BY = UPDATE_BY;
    }

    /**
     * @return the UPDATE_DATE
     */
    @Temporal(javax.persistence.TemporalType.TIMESTAMP)
    public Date getUPDATE_DATE() {
        return UPDATE_DATE;
    }

    /**
     * @param UPDATE_DATE the UPDATE_DATE to set
     */
    public void setUPDATE_DATE(Date UPDATE_DATE) {
        this.UPDATE_DATE = UPDATE_DATE;
    }
}
